import { ActModel } from "../../../models/ActModel.js";
const _ActModel = new ActModel();
var _self;
Page({
  data: {
    actId:"",
    actFrom:"",
    items:[],
    itemsLength:0
  },
  onLoad: function (options) {
    console.log(options)
    _self = this;
    if (options) {
      _self.setData({
        actId: options.actId,
        actFrom: options.from
      })
    }

    _ActModel.getSignList(options.actId, function (data) {
      _self.setData({
        items: data,
        itemsLength:data.length
      });
      console.log(_self.data.items);
    });

    
  },
  onReady: function () {

  }
  
})